import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_repo/widgets/simple_app_bar.dart';

class SuccessDemoPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final listView = SliverFixedExtentList(
      itemExtent: 60,
      delegate: SliverChildBuilderDelegate(
        (_, index) => ListTile(
          title: Text("$index"),
        ),
        childCount: 100,
      ),
    );
    return Scaffold(
      appBar: SimpleAppBar(titleValue: "Success Demo Page"),
      body: CustomScrollView(
        slivers: [
          listView,
          listView,
        ],
      ),
    );
  }
}
